<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>

<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<script src="http://how2j.cn/study/js/jquery/2.0.0/jquery.min.js"></script>
<link href="http://how2j.cn/study/css/bootstrap/3.3.6/bootstrap.min.css" rel="stylesheet">
<script src="http://how2j.cn/study/js/bootstrap/3.3.6/bootstrap.min.js"></script>
</head>
  <body>
  <div>
	  	<form action="savesocial" method="post">
		   <table class="table">
		   	<tr>
		   		<td>姓名</td>
		   		<td>
		   		<s:property value="#request.stuname"/>
		   		</td>
		   	</tr>
		   	<tr>
		   		<td>QQ</td>
				<td>
				<s:if test="#request.studentsocial.qq!=0">
		   		<input type="text" name="qq" value='<s:property value="#request.studentsocial.qq"/>'/>
		   		</s:if>
		   		<s:if test="#request.studentsocial.qq==0">
		   		<input type="text" name="qq" value="请输入你的qq号码"/>
		   		</s:if>
		   		</td>
		   	</tr>
		   	<tr>
		   		<td>邮箱</td>
		   		<td>
		   		<s:if test="#request.studentsocial.mail!=null">
		   		<input type="text" name="mail" value='<s:property value="#request.studentsocial.mail"/>'/>
		   		</s:if>
		   		<s:if test="#request.studentsocial.mail==null">
		   		<input type="text" name="mail" value="请输入你的邮箱"/>
		   		</s:if>
		   		</td>
		   	</tr>
		   	<tr>
		   		<td colspan="2">
		   		<input type="submit" class="btn">
		   		</td>
		   	</tr>
	   </table>
	   </form>
   </div>
  </body>
</html>
